package minio_client

import (
	"core/env"

	"github.com/minio/minio-go"
)

var Client *minio.Client

func Init() (err error) {
	Client, err = minio.New(env.Conf.MinioEndPoint, env.Conf.MinioKey, env.Conf.MinioSecret, false)
	return
}
